<!doctype html>
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en"> <![endif]-->
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">

  <!-- Use the .htaccess and remove these lines to avoid edge case issues.
       More info: h5bp.com/b/378 -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title></title>
  <meta name="description" content="">
  <meta name="author" content="">

  <!-- Mobile viewport optimized: j.mp/bplateviewport -->
  <meta name="viewport" content="width=device-width,initial-scale=1">

  <!-- Place favicon.ico and apple-touch-icon.png in the root directory: mathiasbynens.be/notes/touch-icons -->

  <!-- CSS: implied media=all -->
  <!-- CSS concatenated and minified via ant build script-->
  <link rel="stylesheet" href="../css/odontograma/style.css">
  <!--<link href="../css/metro/metro-bootstrap.css" rel="stylesheet" >
  <link href="../css/metro/metro-bootstrap-responsive.css" rel="stylesheet" >
  <link href="../css/prettify/prettify.css" rel="stylesheet" >-->
  <link rel="stylesheet" href="../css/odontograma/jquery.svg.css">
  <link rel="stylesheet" href="../css/odontograma/odontograma.css">
  <!-- end CSS-->

  <!-- More ideas for your <head> here: h5bp.com/d/head-Tips -->

  <!-- All JavaScript at the bottom, except for Modernizr / Respond.
       Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
       For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
  <script src="../js/odontograma/modernizr-2.0.6.min.js"></script>
   <!-- scripts concatenated and minified via ant build script-->
  <script src="../js/jquery/jquery-2.1.1.min.js" type="text/javascript"></script>
  <script type="text/javascript" src="../js/jquery/jquery.widget.min.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.mousewheel.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.plugin.js"></script>
  <script type="text/javascript" src="../js/metro/metro.min.js"></script>
  <script type="text/javascript" src="../js/prettify/prettify.js"></script>
  <script type="text/javascript" src="../js/metro/metro-button-set.js"></script>
  <script type="text/javascript" src="../js/metro/metro-accordion.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.dataTables.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.alphanumeric.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.dateentry.js"></script>
  <script type="text/javascript" src="../js/jquery/jquery.dateentry-es.js"></script>

  
  <script type="text/javascript" src="../js/jquery/ui/jquery-ui-1.10.4.custom.js"></script>
  <link href="../css/jquery/ui/smoothness/jquery-ui-1.10.4.custom.css" rel="stylesheet" >   
  <script defer src="../js/odontograma/knockout-3.2.0.js"></script>
  <script defer src="../js/odontograma/jquery.svg.js"></script>  
  <script defer src="../js/odontograma/jquery.svggraph.js"></script>  
  <script defer src="../js/odontograma/odontograma.js"></script>
  <script defer src="../js/odontograma/editable.js"></script>
  <script src="../js/odontograma/index.js"></script>
</head>

<body>

  <div id="container">
      <div id="main" role="main">            
          <table>
              <tr class="ui-widget-header" style="font-size: 18px; color: #00356a; font-weight: bold" >
                  <td>
                      Odontograma
                  </td>
                  <td>
                      Tratamiento
                  </td>
              </tr>
              <tr>
                  <td class="ui-widget-content">
                      <div id="odontograma-wrapper" style="font-size: 10px;">                          
                          <div id="odontograma"></div>
                      </div> 
                  </td>
                  <td class="ui-widget-content">
                      <div id="tratamiento" style="font-size: 10px;">
                          <!--<input id="hist" name="hist" type="text"/>-->                          
                          <select style="width: 250px; text-align: left; font-weight: normal; font-size: 16px; color: #088A4B" class="ui-button ui-widget ui-state-default ui-corner-all ui-button-text-only"
                              data-bind=" options: tratamientosPosibles, 
                                      value: tratamientoSeleccionado,
                                      click:limpiar,  
                                      optionsText: function(item){ return item.descripcion; },
                                      optionsCaption: 'Seleccione un tratamiento...'">
                          </select>
                          <table data-bind="foreach: tratamientosAplicados" style="width: 100%">                              
                              <tr class="ui-widget-content">
                                  <td>
                                      P<span data-bind="text: diente.id"></span><span data-bind="text: cara"></span>-<span data-bind="text: tratamiento.nombre"></span>
                                  </td>
                                  <td>
                                      <span data-bind="text: tratamiento.fecha"></span>
                                  </td>
                                  <td class="ui-widget-header">
                                      <img style="cursor: pointer" src='../../public/images/delete.png' data-bind="click: $parent.quitarTratamiento"/>
                                      <img style="cursor: pointer" src='../../public/images/lupa.png' data-bind="click: $parent.verTratamiento"/>
                                  </td>
                              </tr>
                          </table>
               
                      </div>                    
                  </td>
              </tr>
              <tr>
                  <td align="center" colspan="2">                      
                      <table>
                          <tr>
                              <td>Tratamiento</td>
                              <td>
                                  <input id="des_tra" name="des_tra" type="text" disabled size="60"/>
                              </td>
                          </tr>
                          <tr>
                              <td>Observaci&oacute;n</td>
                              <td>
                                  <textarea id="obs_tra" cols="50" rows="4"></textarea>
                              </td>
                          </tr>
                      </table>
                      
                  </td>
              </tr>
          </table>
          <!--<center><button class="" id="guardar-odg" data-bind="click: guardar">Guardar</button></center>-->
      </div>
      
    <footer>
      
    </footer>
  </div> <!--! end of #container -->  

 
  <!-- end scripts-->

  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
       chromium.org/developers/how-tos/chrome-frame-getting-started -->
  <!--[if lt IE 7 ]>
    <script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
    <script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
  <![endif]-->
  
  <div title="Detalle Tratamiento" id="div_obs_trat"></div>
  
</body>
</html>
